package main

import (
	"time"

	"github.com/GeertJohan/go.rice/embedded"
)

func init() {

	// define files
	file2 := &embedded.EmbeddedFile{
		Filename:    "md2html.html",
		FileModTime: time.Unix(1555486806, 0),

		Content: string("<!doctype html>\n<html>\n    <head>\n        <meta charset='UTF-8'><meta name='viewport' content='width=device-width initial-scale=1'>\n        <title>{{ .Title }}</title>\n        <link href='https://fonts.loli.net/css?family=Ubuntu:400,700,400italic,700italic' rel='stylesheet' type='text/css' /><link href='https://fonts.loli.net/css?family=Raleway:600,400&subset=latin,latin-ext' rel='stylesheet' type='text/css' >\n        <style type='text/css'>\n            html {overflow-x: initial !important;}:root { --bg-color: #ffffff; --text-color: #333333; --select-text-bg-color: #B5D6FC; --select-text-font-color: auto; --monospace: \"Lucida Console\",Consolas,\"Courier\",monospace; }\n            html { font-size: 14px; background-color: var(--bg-color); color: var(--text-color); font-family: \"Helvetica Neue\", Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; }\n            body { margin: 0px; padding: 0px; height: auto; bottom: 0px; top: 0px; left: 0px; right: 0px; font-size: 1rem; line-height: 1.42857143; overflow-x: hidden; background-image: inherit; background-size: inherit; background-attachment: inherit; background-origin: inherit; background-clip: inherit; background-color: inherit; background-position: inherit inherit; background-repeat: inherit inherit; }\n            iframe { margin: auto; }\n            a.url { word-break: break-all; }\n            a:active, a:hover { outline: 0px; }\n            .in-text-selection, ::selection { text-shadow: none; background: var(--select-text-bg-color); color: var(--select-text-font-color); }\n            #write { margin: 0px auto; height: auto; width: inherit; word-break: normal; word-wrap: break-word; position: relative; white-space: normal; overflow-x: visible; padding-top: 40px; }\n            #write.first-line-indent p { text-indent: 2em; }\n            #write.first-line-indent li p, #write.first-line-indent p * { text-indent: 0px; }\n            #write.first-line-indent li { margin-left: 2em; }\n            .for-image #write { padding-left: 8px; padding-right: 8px; }\n            body.typora-export { padding-left: 30px; padding-right: 30px; }\n            .typora-export .footnote-line, .typora-export li, .typora-export p { white-space: pre-wrap; }\n            @media screen and (max-width: 500px) {\n                body.typora-export { padding-left: 0px; padding-right: 0px; }\n                #write { padding-left: 20px; padding-right: 20px; }\n                .CodeMirror-sizer { margin-left: 0px !important; }\n                .CodeMirror-gutters { display: none !important; }\n            }\n            #write li > figure:first-child { margin-top: -20px; }\n            #write ol, #write ul { position: relative; }\n            img { max-width: 100%; vertical-align: middle; }\n            button, input, select, textarea { color: inherit; font-family: inherit; font-size: inherit; font-style: inherit; font-variant-caps: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; }\n            input[type=\"checkbox\"], input[type=\"radio\"] { line-height: normal; padding: 0px; }\n            *, ::after, ::before { box-sizing: border-box; }\n            #write h1, #write h2, #write h3, #write h4, #write h5, #write h6, #write p, #write pre { width: inherit; }\n            #write h1, #write h2, #write h3, #write h4, #write h5, #write h6, #write p { position: relative; }\n            h1, h2, h3, h4, h5, h6 { break-after: avoid-page; break-inside: avoid; orphans: 2; }\n            p { orphans: 4; }\n            h1 { font-size: 2rem; }\n            h2 { font-size: 1.8rem; }\n            h3 { font-size: 1.6rem; }\n            h4 { font-size: 1.4rem; }\n            h5 { font-size: 1.2rem; }\n            h6 { font-size: 1rem; }\n            .md-math-block, .md-rawblock, h1, h2, h3, h4, h5, h6, p { margin-top: 1rem; margin-bottom: 1rem; }\n            .hidden { display: none; }\n            .md-blockmeta { color: rgb(204, 204, 204); font-weight: 700; font-style: italic; }\n            a { cursor: pointer; }\n            sup.md-footnote { padding: 2px 4px; background-color: rgba(238, 238, 238, 0.701961); color: rgb(85, 85, 85); border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; cursor: pointer; }\n            sup.md-footnote a, sup.md-footnote a:hover { color: inherit; text-transform: inherit; text-decoration: inherit; }\n            #write input[type=\"checkbox\"] { cursor: pointer; width: inherit; height: inherit; }\n            figure { overflow-x: auto; margin: 1.2em 0px; max-width: calc(100% + 16px); padding: 0px; }\n            figure > table { margin: 0px !important; }\n            tr { break-inside: avoid; break-after: auto; }\n            thead { display: table-header-group; }\n            table { border-collapse: collapse; border-spacing: 0px; width: 100%; overflow: auto; break-inside: auto; text-align: left; }\n            table.md-table td { min-width: 32px; }\n            .CodeMirror-gutters { border-right-width: 0px; background-color: inherit; }\n            .CodeMirror-linenumber { }\n            .CodeMirror { text-align: left; }\n            .CodeMirror-placeholder { opacity: 0.3; }\n            .CodeMirror pre { padding: 0px 4px; }\n            .CodeMirror-lines { padding: 0px; }\n            div.hr:focus { cursor: none; }\n            #write pre { white-space: pre-wrap; }\n            #write.fences-no-line-wrapping pre { white-space: pre; }\n            #write pre.ty-contain-cm { white-space: normal; }\n            .CodeMirror-gutters { margin-right: 4px; }\n            .md-fences { font-size: 0.9rem; display: block; break-inside: avoid; text-align: left; overflow: visible; white-space: pre; background-image: inherit; background-size: inherit; background-attachment: inherit; background-origin: inherit; background-clip: inherit; background-color: inherit; position: relative !important; background-position: inherit inherit; background-repeat: inherit inherit; }\n            .md-diagram-panel { width: 100%; margin-top: 10px; text-align: center; padding-top: 0px; padding-bottom: 8px; overflow-x: auto; }\n            #write .md-fences.mock-cm { white-space: pre-wrap; }\n            .md-fences.md-fences-with-lineno { padding-left: 0px; }\n            #write.fences-no-line-wrapping .md-fences.mock-cm { white-space: pre; overflow-x: auto; }\n            .md-fences.mock-cm.md-fences-with-lineno { padding-left: 8px; }\n            .CodeMirror-line, twitterwidget { break-inside: avoid; }\n            .footnotes { opacity: 0.8; font-size: 0.9rem; margin-top: 1em; margin-bottom: 1em; }\n            .footnotes + .footnotes { margin-top: 0px; }\n            .md-reset { margin: 0px; padding: 0px; border: 0px; outline: 0px; vertical-align: top; text-decoration: none; text-shadow: none; float: none; position: static; width: auto; height: auto; white-space: nowrap; cursor: inherit; line-height: normal; font-weight: 400; text-align: left; box-sizing: content-box; direction: ltr; background-position: 0px 0px; background-repeat: initial initial; }\n            li div { padding-top: 0px; }\n            blockquote { margin: 1rem 0px; }\n            li .mathjax-block, li p { margin: 0.5rem 0px; }\n            li { margin: 0px; position: relative; }\n            blockquote > :last-child { margin-bottom: 0px; }\n            blockquote > :first-child, li > :first-child { margin-top: 0px; }\n            .footnotes-area { color: rgb(136, 136, 136); margin-top: 0.714rem; padding-bottom: 0.143rem; white-space: normal; }\n            #write .footnote-line { white-space: pre-wrap; }\n            @media print {\n                body, html { border: 1px solid transparent; height: 99%; break-after: avoid-page; break-before: avoid-page; }\n                #write { margin-top: 0px; padding-top: 0px; border-color: transparent !important; }\n                .typora-export * { -webkit-print-color-adjust: exact; }\n                html.blink-to-pdf { font-size: 13px; }\n                .typora-export #write { padding-left: 32px; padding-right: 32px; padding-bottom: 0px; break-after: avoid-page; }\n                .typora-export #write::after { height: 0px; }\n                @page { margin: 20mm 0px; }\n            }\n            .footnote-line { margin-top: 0.714em; font-size: 0.7em; }\n            a img, img a { cursor: pointer; }\n            pre.md-meta-block { font-size: 0.8rem; min-height: 0.8rem; white-space: pre-wrap; background-color: rgb(204, 204, 204); display: block; overflow-x: hidden; background-position: initial initial; background-repeat: initial initial; }\n            p > .md-image:only-child:not(.md-img-error) img, p > img:only-child { display: block; margin: auto; }\n            p > .md-image:only-child { display: inline-block; width: 100%; }\n            #write .MathJax_Display { margin: 0.8em 0px 0px; }\n            .md-math-block { width: 100%; }\n            .md-math-block:not(:empty)::after { display: none; }\n            [contenteditable=\"true\"]:active, [contenteditable=\"true\"]:focus { outline: 0px; box-shadow: none; }\n            .md-task-list-item { position: relative; list-style-type: none; }\n            .task-list-item.md-task-list-item { padding-left: 0px; }\n            .md-task-list-item > input { position: absolute; top: 0px; left: 0px; margin-left: -1.2em; margin-top: calc(1em - 10px); border: none; }\n            .math { font-size: 1rem; }\n            .md-toc { min-height: 3.58rem; position: relative; font-size: 0.9rem; border-top-left-radius: 10px; border-top-right-radius: 10px; border-bottom-right-radius: 10px; border-bottom-left-radius: 10px; }\n            .md-toc-content { position: relative; margin-left: 0px; }\n            .md-toc-content::after, .md-toc::after { display: none; }\n            .md-toc-item { display: block; color: rgb(65, 131, 196); }\n            .md-toc-item a { text-decoration: none; }\n            .md-toc-inner:hover { text-decoration: underline; }\n            .md-toc-inner { display: inline-block; cursor: pointer; }\n            .md-toc-h1 .md-toc-inner { margin-left: 0px; font-weight: 700; }\n            .md-toc-h2 .md-toc-inner { margin-left: 2em; }\n            .md-toc-h3 .md-toc-inner { margin-left: 4em; }\n            .md-toc-h4 .md-toc-inner { margin-left: 6em; }\n            .md-toc-h5 .md-toc-inner { margin-left: 8em; }\n            .md-toc-h6 .md-toc-inner { margin-left: 10em; }\n            @media screen and (max-width: 48em) {\n                .md-toc-h3 .md-toc-inner { margin-left: 3.5em; }\n                .md-toc-h4 .md-toc-inner { margin-left: 5em; }\n                .md-toc-h5 .md-toc-inner { margin-left: 6.5em; }\n                .md-toc-h6 .md-toc-inner { margin-left: 8em; }\n            }\n            a.md-toc-inner { font-size: inherit; font-style: inherit; font-weight: inherit; line-height: inherit; }\n            .footnote-line a:not(.reversefootnote) { color: inherit; }\n            .md-attr { display: none; }\n            .md-fn-count::after { content: \".\"; }\n            code, pre, samp, tt { font-family: var(--monospace); }\n            kbd { margin: 0px 0.1em; padding: 0.1em 0.6em; font-size: 0.8em; color: rgb(36, 39, 41); background-color: rgb(255, 255, 255); border: 1px solid rgb(173, 179, 185); border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; box-shadow: rgba(12, 13, 14, 0.2) 0px 1px 0px, rgb(255, 255, 255) 0px 0px 0px 2px inset; white-space: nowrap; vertical-align: middle; background-position: initial initial; background-repeat: initial initial; }\n            .md-comment { color: rgb(162, 127, 3); opacity: 0.8; font-family: var(--monospace); }\n            code { text-align: left; }\n            a.md-print-anchor { white-space: pre !important; border: none !important; display: inline-block !important; position: absolute !important; width: 1px !important; right: 0px !important; outline: 0px !important; text-shadow: initial !important; background-position: 0px 0px !important; background-repeat: initial initial !important; }\n            .md-inline-math .MathJax_SVG .noError { display: none !important; }\n            .html-for-mac .inline-math-svg .MathJax_SVG { vertical-align: 0.2px; }\n            .md-math-block .MathJax_SVG_Display { text-align: center; margin: 0px; position: relative; text-indent: 0px; max-width: none; max-height: none; min-height: 0px; min-width: 100%; width: auto; overflow-y: hidden; display: block !important; }\n            .MathJax_SVG_Display, .md-inline-math .MathJax_SVG_Display { width: auto; margin: inherit; display: inline-block !important; }\n            .MathJax_SVG .MJX-monospace { font-family: var(--monospace); }\n            .MathJax_SVG .MJX-sans-serif { font-family: sans-serif; }\n            .MathJax_SVG { display: inline; font-style: normal; font-weight: 400; line-height: normal; zoom: 90%; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; word-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; }\n            .MathJax_SVG * { transition: none; }\n            .MathJax_SVG_Display svg { vertical-align: middle !important; margin-bottom: 0px !important; }\n            .os-windows.monocolor-emoji .md-emoji { font-family: \"Segoe UI Symbol\", sans-serif; }\n            .md-diagram-panel > svg { max-width: 100%; }\n            [lang=\"mermaid\"] svg, [lang=\"flow\"] svg { max-width: 100%; }\n            [lang=\"mermaid\"] .node text { font-size: 1rem; }\n            table tr th { border-bottom-width: 0px; }\n            video { max-width: 100%; display: block; margin: 0px auto; }\n            iframe { max-width: 100%; width: 100%; border: none; }\n            .highlight td, .highlight tr { border: 0px; }\n\n            @include-when-export url(https://fonts.loli.net/css?family=Ubuntu:400,700,400italic,700italic);\n            @include-when-export url(https://fonts.loli.net/css?family=Raleway:600,400&subset=latin,latin-ext);\n\n            :root {\n                --window-border: none;\n                --typora-center-window-title: true;\n                --active-file-bg-color: #f3f3f3;\n                --bg-color: #fcfcfc;\n                --control-text-color: #777;\n            }\n\n            .mac-seamless-mode #typora-sidebar {\n                top: 20px;\n                padding-top: 0;\n                height: auto;\n            }\n\n            html,\n            body,\n            #write{\n                background: #fcfcfc;\n                background: var(--bg-color);\n                font-family: 'TeXGyreAdventor', \"Century Gothic\", 'Yu Gothic', 'Raleway', sans-serif;\n                font-weight: 300;\n            }\n            h1,\n            h2,\n            h3,\n            h4,\n            h5,\n            h6 {\n                color: #111;\n                font-family: 'TeXGyreAdventor', \"Century Gothic\", 'Yu Gothic', 'Ubuntu', sans-serif;\n            }\n\n            html {\n                font-size:16px;\n            }\n\n            #write {\n                max-width: 914px;\n                text-align: justify;\n            }\n\n            #write>h1:first-child {\n                margin-top: 2.75rem;\n            }\n            #write>h2:first-child {\n                margin-top: 1.75rem;\n            }\n            #write>h3:first-child {\n                margin-top: 1rem;\n            }\n            #write>h4:first-child {\n                margin-top: 0.5rem;\n            }\n            h1 {\n                font-weight: normal;\n                line-height: 4rem;\n                margin: 0 0 1.75rem;\n                padding: 20px 30px;\n                text-align: center;\n                text-transform: uppercase;\n                margin-top: 4rem;\n            }\n            h2 {\n                font-weight: normal;\n                line-height: 3rem;\n                margin: 0 0 1.9375rem;\n                padding: 0 30px;\n                text-align: center;\n                text-transform: uppercase;\n                margin-top: 3rem\n            }\n            h3 {\n                font-weight: normal;\n            }\n            h4 {\n                font-weight: normal;\n            }\n            h5 {\n                font-size: 1.125rem;\n                font-weight: normal;\n            }\n            h6 {\n                font-size: 1rem;\n                font-weight: bold;\n            }\n            p {\n                color: #111;\n                font-size: 1rem;\n                line-height: 1.75rem;\n                margin: 0 0 1.25rem;\n            }\n            #write>h3.md-focus:before {\n                left: -1.875rem;\n                top: 0.5rem;\n                padding: 2px;\n            }\n            #write>h4.md-focus:before {\n                left: -1.875rem;\n                top: 0.3125rem;\n                padding: 2px;\n            }\n            #write>h5.md-focus:before {\n                left: -1.875rem;\n                top: 0.25rem;\n                padding: 2px;\n            }\n            #write>h6.md-focus:before {\n                left: -1.875rem;\n                top: .125rem;\n                padding: 2px;\n            }\n            @media screen and (max-width: 48em) {\n                blockquote {\n                    margin-left: 1rem;\n                    margin-right: 0;\n                    padding: 0.5em;\n                }\n                .h1,\n                h1 {\n                    font-size: 2.827rem;\n                }\n                .h2,\n                h2 {\n                    font-size: 1.999rem;\n                }\n                .h3,\n                h3 {\n                    font-size: 1.413rem;\n                }\n                .h4,\n                h4 {\n                    font-size: 1.250rem;\n                }\n                .h5,\n                h5 {\n                    font-size: 1.150rem;\n                }\n                .h6,\n                h6 {\n                    font-size: 1rem;\n                }\n            }\n            a,\n            .md-def-url {\n                color: #990000;\n                text-decoration: none;\n            }\n            a:hover {\n                text-decoration: underline;\n            }\n            table {\n                margin-bottom: 20px\n            }\n            table th,\n            table td {\n                padding: 8px;\n                line-height: 1.25rem;\n                vertical-align: top;\n                border-top: 1px solid #ddd\n            }\n            table th {\n                font-weight: bold\n            }\n            table thead th {\n                vertical-align: bottom\n            }\n            table caption+thead tr:first-child th,\n            table caption+thead tr:first-child td,\n            table colgroup+thead tr:first-child th,\n            table colgroup+thead tr:first-child td,\n            table thead:first-child tr:first-child th,\n            table thead:first-child tr:first-child td {\n                border-top: 0\n            }\n            table tbody+tbody {\n                border-top: 2px solid #ddd\n            }\n            code, .md-fences {\n                padding: .5em;\n                /*background: #f0f0f0;*/\n                border: 1px solid #ccc;\n                padding: .1em;\n                font-size: 0.9em;\n                margin-left: 0.2em;\n                margin-right: 0.2em;\n            }\n            .md-fences {\n                margin: 0 0 20px;\n                font-size: 1em;\n                padding: 0.3em 1em;\n                padding-top: 0.4em;\n            }\n            .task-list{\n                padding-left: 0;\n            }\n\n            .task-list-item {\n                padding-left:2.125rem;\n            }\n\n            input {\n                border-style: ridge;\n            }\n\n            .task-list-item input {\n                top: 3px;\n            }\n\n            .md-task-list-item input {\n                margin-left: -1.5em;\n            }\n\n            .task-list-item input:before {\n                content: \"\";\n                display: inline-block;\n                width: 1rem;\n                height: 1rem;\n                vertical-align: middle;\n                text-align: center;\n                border: 1px solid gray;\n                background-color: #fdfdfd;\n                margin-left: 0;\n                -webkit-appearance: none;\n                margin-top: -1rem;\n            }\n\n            .typora-node .task-list-item input:before {\n                top: 0.3ex;\n                position: absolute;\n            }\n\n            .task-list-item input:checked:before,\n            .task-list-item input[checked]:before{\n                content: '\\25FC';\n                /*◘*/\n                font-size: 0.8125rem;\n                line-height: 0.9375rem;\n            }\n\n            /* Chrome 29+ */\n            @media screen and (-webkit-min-device-pixel-ratio:0)\n            and (min-resolution:.001dpcm) {\n                .task-list-item input:before {\n                    margin-top: -0.2rem;\n                }\n\n                .task-list-item input:checked:before,\n                .task-list-item input[checked]:before {\n                    margin-top: -0.2rem;\n                }\n            }\n\n            blockquote {\n                margin: 0 0 1.11111rem;\n                padding: 0.5rem 1.11111rem 0 1.05556rem;\n                border-left: 1px solid gray;\n            }\n            blockquote,\n            blockquote p {\n                line-height: 1.6;\n                color: #6f6f6f;\n            }\n            #write pre.md-meta-block {\n                min-height: 30px;\n                background: #f8f8f8;\n                padding: 1.5em;\n                font-weight: 300;\n                font-size: 1em;\n                padding-bottom: 1.5em;\n                padding-top: 3em;\n                margin-top: -1.5em;\n                color: #999;\n\n                width: 100vw;\n                max-width: calc(100% + 60px);\n                margin-left: -30px;\n                border-left: 30px #f8f8f8 solid;\n                border-right: 30px #f8f8f8 solid;\n            }\n            .MathJax_Display {\n                font-size: 0.9em;\n                margin-top: 0.5em;\n                margin-bottom: 0;\n            }\n            p.mathjax-block,\n            .mathjax-block {\n                padding-bottom: 0;\n            }\n            .mathjax-block>.code-tooltip {\n                bottom: 5px;\n                box-shadow: none;\n            }\n            .md-image>.md-meta {\n                padding-left: 0.5em;\n                padding-right: 0.5em;\n            }\n            .md-image>img {\n                margin-top: 2px;\n            }\n            .md-image>.md-meta:first-of-type:before {\n                padding-left: 4px;\n            }\n\n            #typora-source {\n                color: #555;\n            }\n\n            /** ui for windows **/\n            #md-searchpanel {\n                border-bottom: 1px solid #ccc;\n            }\n\n            #md-searchpanel .btn {\n                border: 1px solid #ccc;\n            }\n\n            #md-notification:before {\n                top: 14px;\n            }\n\n            #md-notification {\n                background: #eee;\n            }\n\n            .megamenu-menu-panel .btn {\n                border: 1px solid #ccc;\n            }\n\n            #typora-sidebar {\n                box-shadow: none;\n            }\n\n            .file-list-item ,\n            .show-folder-name .file-list-item {\n                padding-top: 20px;\n                padding-bottom: 20px;\n                line-height: 20px;\n            }\n\n            .file-list-item-summary {\n                height: 40px;\n                line-height: 20px;\n            }\n\n            .ty-table-edit {\n                background: #ededed;\n            }\n\n            .dropdown-menu .divider {\n                border-color: #e5e5e5;\n            }\n\n            .typora-export li, .typora-export p, .typora-export,  .footnote-line {white-space: normal;}\n        </style>\n    </head>\n\n    <body class='typora-export'>\n        <div id='write' class='is-mac'>\n            {{ .Body }}\n        </div>\n    </body>\n</html>"),
	}

	// define dirs
	dir1 := &embedded.EmbeddedDir{
		Filename:   "",
		DirModTime: time.Unix(1555742837, 0),
		ChildFiles: []*embedded.EmbeddedFile{
			file2, // "md2html.html"

		},
	}

	// link ChildDirs
	dir1.ChildDirs = []*embedded.EmbeddedDir{}

	// register embeddedBox
	embedded.RegisterEmbeddedBox(`views`, &embedded.EmbeddedBox{
		Name: `views`,
		Time: time.Unix(1555742837, 0),
		Dirs: map[string]*embedded.EmbeddedDir{
			"": dir1,
		},
		Files: map[string]*embedded.EmbeddedFile{
			"md2html.html": file2,
		},
	})
}
